function [sub_stego] = indirect_LSB_2(sub_cover,emd_msg)
%UNTITLED 此处显示有关此函数的摘要
%   此处显示详细说明
p=1;
[r,c]=size(sub_cover);
emd_msg=mychar2double(emd_msg);
bin_sub_cover = myImageBitPlaneSlicing(sub_cover);%位平面分解，低位在前,高位在后
bin_sub_cover(:,:,1)=0;%LSB先全部置0
for i=1:r
    for j=1:c
        MSB=bin_sub_cover(i,j,8);
        if emd_msg(p) ~= MSB
            bin_sub_cover(i,j,1)=1;
        end
        p=p+1;
    end
end
sub_stego=reversemyImageBitPlaneSlicing(bin_sub_cover);%存在一个潜在的255越界问题
end

